package com.techsoul.module.tms.pojo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.techsoul.common.core.pojo.entity.DataEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuen
 * @since 2019-11-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_bm_customer")
public class iCustomer extends DataEntity {

    private static final long serialVersionUID = 1L;

        @TableField("customer_no")
    private String customerNo;

    @TableField("prove_status")
    private String proveStatus;

    @TableField("customer_name")
    private String customerName;

    @TableField("customer_for_short")
    private String customerForShort;

    @TableField("org_ids")
    private String orgIds;

    @TableField("address")
    private String address;

    @TableField("phone")
    private String phone;

    @TableField("mobile")
    private String mobile;

    @TableField("fax")
    private String fax;

    @TableField("email")
    private String email;

    @TableField("weburl")
    private String weburl;

    @TableField("manager")
    private String manager;

    @TableField("delivery_address")
    private String deliveryAddress;

    @TableField("consignee_address")
    private String consigneeAddress;

    @TableField("cargo_name")
    private String cargoName;

    @TableField("bussiness_licence_no")
    private String bussinessLicenceNo;

    @TableField("purch_org")
    private String purchOrg;

    @TableField("sales_org")
    private String salesOrg;

    @TableField("distribution")
    private String distribution;

    @TableField("sales_area")
    private String salesArea;

    @TableField("sales_group")
    private String salesGroup;

    @TableField("customer_type")
    private String customerType;

    @TableField("customer_group_no")
    private String customerGroupNo;

    @TableField("abc_group")
    private String abcGroup;

    @TableField("price_group")
    private String priceGroup;

    @TableField("trade")
    private String trade;

    @TableField("trade_code")
    private String tradeCode;

    @TableField("customer_grade")
    private String customerGrade;

    @TableField("customer_tax_account")
    private String customerTaxAccount;

    @TableField("customer_account")
    private String customerAccount;

    @TableField("account_bank")
    private String accountBank;

    @TableField("is_internal_customer")
    private String isInternalCustomer;

    @TableField("is_actived")
    private String isActived;

    @TableField("avality_date")
    private Date avalityDate;

    @TableField("note_text")
    private String noteText;

    @TableField("version")
    private BigDecimal version;

    @TableField("inv_send_method")
    private String invSendMethod;

    @TableField("payment_term")
    private BigDecimal paymentTerm;

    @TableField("area_desc")
    private String areaDesc;

    @TableField("back_order_est_date")
    private BigDecimal backOrderEstDate;

    @TableField("route_distance_type")
    private BigDecimal routeDistanceType;

    @TableField("charge_adjust_type")
    private String chargeAdjustType;

    @TableField("invoice_send_method")
    private String invoiceSendMethod;

    @TableField("auto_tariff_yn")
    private String autoTariffYn;

    @TableField("customer_site")
    private String customerSite;

    @TableField("payment_type")
    private String paymentType;

    @TableField("text_msg_yn")
    private String textMsgYn;

    @TableField("half_taget")
    private String halfTaget;

    @TableField("qater_taget")
    private String qaterTaget;

    @TableField("buy_howmany_get_one_free")
    private String buyHowmanyGetOneFree;

    @TableField("gift_percentage")
    private String giftPercentage;

    @TableField("free_gift_pct_pershipment")
    private String freeGiftPctPershipment;

    @TableField("system_id")
    private String systemId;

    @TableField("company_no")
    private String companyNo;

    @TableField("out_credit_status")
    private String outCreditStatus;

    @TableField("companyaccountreportfilename")
    private String companyaccountreportfilename;

    @TableField("consignee_id")
    private String consigneeId;

    @TableField("supplier_no")
    private String supplierNo;

    @TableField("sap_no")
    private String sapNo;

    @TableField("buyer_or_supplier")
    private String buyerOrSupplier;

    @TableField("totest_point")
    private Integer totestPoint;

    @TableField("totowner_point")
    private Integer totownerPoint;

    @TableField("supplier_id")
    private String supplierId;

    @TableField("credit_left")
    private String creditLeft;

    @TableField("add_on_credit")
    private String addOnCredit;

    @TableField("address_id")
    private String addressId;
    @TableField("service_type")
    private String serviceType;
    @TableField("create_date")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @TableField("update_date")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;
}
